cmake_minimum_required(VERSION 3.14)

project(utest)
add_subdirectory(lib)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})

aux_source_directory(../src DIR_MONOPOLY_UT_SRCS)
list(REMOVE_ITEM DIR_MONOPOLY_UT_SRCS "../src/main.cc")
add_executable(utest_run utest.cpp ${DIR_MONOPOLY_UT_SRCS})
target_include_directories(utest_run PUBLIC ../base PUBLIC ../include)
target_link_libraries(utest_run gtest gtest_main)